﻿<%@ Page Language="C#" AutoEventWireup="true" Theme="Default" CodeBehind="FenHuSBFP.aspx.cs" Inherits="Web.Pages.YongShui._13.LAIHANGL.FenHuSBFP" %>

<%@ Register Assembly="DevExpress.Web.v15.2, Version=15.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web" TagPrefix="dx" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>水表分配</title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <asp:UpdatePanel runat="server" ID="updatePanel1">
            <ContentTemplate>
                <div >
                    <div class="tabletitle1">
                        水表分配
                    </div>
                    <table style="width: 96%; margin:0px auto">
                        <tr>
                            <td>分户1水表
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <dx:ASPxGridView ID="gvFenHu1" ClientInstanceName="grid1"  runat="server" AutoGenerateColumns="False" KeyFieldName="ID" Width="100%" Theme="Aqua1">
                                    <Columns>
                                        <dx:GridViewDataTextColumn FieldName="ID" Caption="主键" Visible="false" Width="100px" HeaderStyle-HorizontalAlign="Center"></dx:GridViewDataTextColumn>
                                        <dx:GridViewDataTextColumn FieldName="S_SHUIBIAOBH" Caption="水表编号" Width="20%" HeaderStyle-HorizontalAlign="Center"></dx:GridViewDataTextColumn>
                                       <dx:GridViewDataTextColumn Caption="水表名称" Width="80%" HeaderStyle-HorizontalAlign="Center">
                                            <DataItemTemplate>
                                                <%#GetShuiBiaoMC(Eval("S_SHUIBIAOBH").ToString()) %>
                                            </DataItemTemplate>
                                        </dx:GridViewDataTextColumn>
                                    </Columns>
                                    <Settings HorizontalScrollBarMode="Auto"  VerticalScrollableHeight="100" />
                                </dx:ASPxGridView>

                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <dx:ASPxButton ID="BtnFenHu12" OnClick="BtnFenHu12_Click" runat="server" Text="分户2"></dx:ASPxButton>
                                <dx:ASPxButton ID="BtnFenHu13" OnClick="BtnFenHu13_Click" runat="server" Text="分户3"></dx:ASPxButton>
                            </td>
                        </tr>
                        <tr>
                            <td>分户2水表
                            </td>
                        </tr>
                         <tr>
                            <td>
                                <dx:ASPxGridView ID="gvFenHu2" ClientInstanceName="grid2" runat="server" AutoGenerateColumns="False" KeyFieldName="ID" Width="100%" Theme="Aqua1">
                                    <Columns>
                                        <dx:GridViewDataTextColumn FieldName="ID" Caption="主键" Visible="false" Width="100px" HeaderStyle-HorizontalAlign="Center"></dx:GridViewDataTextColumn>
                                        <dx:GridViewDataTextColumn FieldName="S_SHUIBIAOBH" Caption="水表编号" Width="20%" HeaderStyle-HorizontalAlign="Center"></dx:GridViewDataTextColumn>
                                        <dx:GridViewDataTextColumn Caption="水表名称" Width="80%" HeaderStyle-HorizontalAlign="Center">
                                            <DataItemTemplate>
                                                <%#GetShuiBiaoMC(Eval("S_SHUIBIAOBH").ToString()) %>
                                            </DataItemTemplate>
                                        </dx:GridViewDataTextColumn>

                                    </Columns>
                                    <Settings HorizontalScrollBarMode="Auto"  VerticalScrollableHeight="100" />
                                </dx:ASPxGridView>

                            </td>
                        </tr>
                        <tr>
                            <td   align="right">
                                <dx:ASPxButton ID="BtnFenHu21" OnClick="BtnFenHu21_Click" runat="server" Text="分户1"></dx:ASPxButton>
                                <dx:ASPxButton ID="BtnFenHu23" OnClick="BtnFenHu23_Click" runat="server" Text="分户3"></dx:ASPxButton>
                            </td>
                        </tr>
                        <tr>
                            <td>分户3水表
                            </td>
                        </tr>
                         <tr>
                            <td>
                                <dx:ASPxGridView ID="gvFenHu3" ClientInstanceName="grid3" runat="server" AutoGenerateColumns="False" KeyFieldName="ID" Width="100%" Theme="Aqua1">
                                    <Columns>
                                        <dx:GridViewDataTextColumn FieldName="ID" Caption="主键" Visible="false" Width="100px" HeaderStyle-HorizontalAlign="Center"></dx:GridViewDataTextColumn>
                                        <dx:GridViewDataTextColumn FieldName="S_SHUIBIAOBH" Caption="水表编号" Width="20%" HeaderStyle-HorizontalAlign="Center"></dx:GridViewDataTextColumn>
                                       <dx:GridViewDataTextColumn Caption="水表名称" Width="80%" HeaderStyle-HorizontalAlign="Center">
                                            <DataItemTemplate>
                                                <%#GetShuiBiaoMC(Eval("S_SHUIBIAOBH").ToString()) %>
                                            </DataItemTemplate>
                                        </dx:GridViewDataTextColumn>
                                    </Columns>
                                    <Settings HorizontalScrollBarMode="Auto" VerticalScrollableHeight="100"  />
                                </dx:ASPxGridView>

                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <dx:ASPxButton ID="BtnFenHu31" OnClick="BtnFenHu31_Click" runat="server" Text="分户1"></dx:ASPxButton>
                                <dx:ASPxButton ID="BtnFenHu32" OnClick="BtnFenHu32_Click" runat="server" Text="分户2"></dx:ASPxButton>
                            </td>
                        </tr>
                    </table>

                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
    </form>
</body>
</html>
